package com.javalab._6feature._6dynamic_proxy._1static;

/**
 * 静态代理
 */
public class Test {
    public static void main(String[] args) {
        UserService userServiceImpl = new UserServiceImpl();
        UserService proxy = new UserServiceProxy(userServiceImpl);

        proxy.select();
        proxy.update();
    }
}
